package edu.uw.cs.cse461.sp12.OS;

/**
 * Adds a dot to all hostnames except root ("")
 **/

public class DDNSFullName {
	private String hostname;
	
	public DDNSFullName(String hostname) {
		this.hostname = hostname;
	}
	
	@Override
	public String toString() {
		if (hostname.equals("")) 
			return hostname;
		else
			return hostname + ".";
	}
}
